import './assets/iview.css';
import "./assets/color.scss";
import "./assets/icon.scss";
import './assets/global.scss';

import App from './App.vue'
import Vue from 'vue'
import iView from 'iview';
import iviewArea from 'iview-area';
import router from './routes/index.js'
import store from './stores/store'
import fileters from './filters/filter.js';
import Storage from 'vue-ls'

Vue.use(iView);
Vue.use(iviewArea);
Vue.use(Storage, { namespace: 'local__', name: "local", storage: 'local' });
Vue.config.productionTip = false

Object.keys(fileters).map((key) => {
    Vue.filter(key, fileters[key])
});
Vue.prototype.$Message.config({
    top: 50,
    duration: 3
});
new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')